"""
下载大模型及向量嵌入模型
"""

import os
os.environ["HF_ENDPOINT"] = "https://hf-mirror.com"

from modelscope import snapshot_download
# from huggingface_hub import snapshot_download


if __name__ == '__main__':
    snapshot_download(repo_id='Qwen/Qwen2.5-VL-7B-Instruct',
                      local_dir=r'/root/models/Qwen2.5-VL-7B-Instruct')